home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
- <background>
- <id>7720</id>
- <filler1>0</filler1>
- <bitmap>BMAP_8153.pbm</bitmap>
- <cantDelete> <false /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <link rel="stylesheet" type="text/css" href="stylesheet_5866.css" />
- <part>
- <id>1</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>16</left>
- <top>68</top>
- <right>500</right>
- <bottom>136</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>Q1</name>
- <script></script>
- </part>
- <part>
- <id>11</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>48</left>
- <top>137</top>
- <right>499</right>
- <bottom>177</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>D</name>
- <script></script>
- </part>
- <part>
- <id>25</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>204</left>
- <top>313</top>
- <right>241</right>
- <bottom>342</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>902</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Prev</name>
- <script>on mouseUp
- -- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential
- -- cards. Comment out next to last and uncomment last command for
- -- random cards from buildList (in background of first card of stack).
- global immediate, group, questans
- if item group of questans is not empty then
- if immediate then reView
- end if
- visual effect wipe right fast to black
- visual effect wipe left
- -- go to previous card -- ΓÇóΓÇóΓÇó for sequential cards
- randomPrev -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildList
- end mouseUp</script>
- </part>
- <part>
- <id>26</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>297</left>
- <top>313</top>
- <right>333</right>
- <bottom>342</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>26425</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Next</name>
- <script>on mouseUp
- -- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential
- -- cards. Comment out next to last and uncomment last command for
- -- random cards from buildList (in background of first card of stack).
- global immediate, group, questans
- if item group of questans is not empty then
- if immediate then reView
- end if
- visual effect wipe left fast to black
- visual effect wipe right fast
- -- go to next card -- ΓÇóΓÇóΓÇó for sequential cards
- randomNext -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildList
- end mouseUp
- </script>
- </part>
- <part>
- <id>27</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>48</left>
- <top>178</top>
- <right>508</right>
- <bottom>219</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>D</name>
- <script></script>
- </part>
- <part>
- <id>28</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>48</left>
- <top>221</top>
- <right>508</right>
- <bottom>262</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>D</name>
- <script></script>
- </part>
- <part>
- <id>29</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>47</left>
- <top>264</top>
- <right>502</right>
- <bottom>306</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>D</name>
- <script></script>
- </part>
- <part>
- <id>20</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>15</left>
- <top>31</top>
- <right>166</right>
- <bottom>53</bottom>
- </rect>
- <style>shadow</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>16</textHeight>
- <name>Q#</name>
- <script>
- </script>
- </part>
- <part>
- <id>38</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>173</left>
- <top>116</top>
- <right>245</right>
- <bottom>138</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Correct!</name>
- <script></script>
- </part>
- <part>
- <id>39</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>14</left>
- <top>138</top>
- <right>44</right>
- <bottom>174</bottom>
- </rect>
- <style>checkbox</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>A</name>
- <script>on mouseUp
- global questans, group
- set hilight of background button A to true
- set hilight of background button B to false
- set hilight of background button C to false
- set hilight of background button D to false
- put "A" into item group of questans
- end mouseUp
- </script>
- </part>
- <part>
- <id>40</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>14</left>
- <top>178</top>
- <right>44</right>
- <bottom>214</bottom>
- </rect>
- <style>checkbox</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>B</name>
- <script>on mouseUp
- global questans, group
- set hilight of background button A to false
- set hilight of background button B to true
- set hilight of background button C to false
- set hilight of background button D to false
- put "B" into item group of questans
- end mouseUp
- </script>
- </part>
- <part>
- <id>41</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>14</left>
- <top>219</top>
- <right>44</right>
- <bottom>255</bottom>
- </rect>
- <style>checkbox</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>C</name>
- <script>on mouseUp
- global questans, group
- set hilight of background button A to false
- set hilight of background button B to false
- set hilight of background button C to true
- set hilight of background button D to false
- put "C" into item group of questans
- end mouseUp
- </script>
- </part>
- <part>
- <id>42</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>14</left>
- <top>264</top>
- <right>44</right>
- <bottom>300</bottom>
- </rect>
- <style>checkbox</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>D</name>
- <script>on mouseUp
- global questans, group
- set hilight of background button A to false
- set hilight of background button B to false
- set hilight of background button C to false
- set hilight of background button D to true
- put "D" into item group of questans
- end mouseUp
- </script>
- </part>
- <part>
- <id>43</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>399</left>
- <top>310</top>
- <right>445</right>
- <bottom>342</bottom>
- </rect>
- <style>default</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Times</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>QUIT</name>
- <script>on mouseUp
- doMenu "Quit HyperCard"
- end mouseUp</script>
- </part>
- <name>Test</name>
- <script>On openCard
- global questans, questkey, rightone, group
- hide background button "Correct!"
- set hilight of background button A to false
- set hilight of background button B to false
- set hilight of background button C to false
- set hilight of background button D to false
- get the number of card
- -- ΓÇóΓÇóΓÇó choose question # or card # option
- put "Question #" & group into field "Q#" -- question # option
- -- put "Question #"&it-2 into field "Q#" -- card # option
- put rightone into item group of questkey
- put item group of questans into foo
- if foo is not empty then set hilight of background button foo to true
- end openCard
-
- on closeCard
- set lockScreen to true
- set hilight of background button A to false
- set hilight of background button B to false
- set hilight of background button C to false
- set hilight of background button D to false
- set lockScreen to false
- hide background button "Correct!"
- end closeCard
-
- on idle
- global time1
- -- comment out next line (exit idle) if you want a time limit on test.
- -- don't forget to set time limit as described in Exam button of
- -- first card.
- exit idle
- put the seconds into time2
- if time2<time1 then exit idle
- if time2≥time1 then
- answer "Too much Time. Try again?" with "OK" or "Quit"
- end if
- if it is "OK" then
- visual effect dissolve to black
- visual effect iris open
- go first card
- openStack
- else
- visual effect dissolve
- go home
- end if
- end idle
-
- on randomNext
- global group,questlist
- add one to group
- if group > 50 then go card report
- get item group of questlist
- go card it
- end randomNext
-
- on randomPrev
- global group,questlist
- subtract one from group
- if group < 1 then go first card
- get item group of questlist
- go card it
- end randomPrev
-
- on reView
- global rightone, immediate
- if not immediate then
- wait 3 seconds
- put "Correct answer is " & rightone into foo
- answer foo with "Oh!"
- else
- if hilite of background button rightone is false then
- put "Correct answer is " & rightone into foo
- answer foo with "Oh!"
- else
- -- show background button "Correct!"
- end if
- end if
- end reView
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- </script>
- </background>
-